﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SimuladorCredito.BL;

namespace SimuladorCredito {
	public partial class Form1 : Form {
		public Form1() {
			InitializeComponent();

		}

		private void btnLimpar_Click(object sender, EventArgs e) {
			txtValor.Text = string.Empty;
			txtRenda.Text = string.Empty;
			txtParcelas.Text = string.Empty;
			this.cmbTipo.SelectedItem = "Funcionário";
			this.lblDate.Text = System.DateTime.Now.ToString();
		}

		private void Form1_Load(object sender, EventArgs e) {
			this.lblDate.Text = System.DateTime.Now.ToString();
		}

		private void btnSimular_Click(object sender, EventArgs e) {
			Credito cred = new Credito();
			lblResultado.Text = "OK";
		}

	}
}
